<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
	<title>RunJS 演示代码</title>
	<link rel="stylesheet" href="./css/style.css" />
  </head>
<body>
   <div class="cardBox_C">
		<ul class="cardList_C">
			<li>
				<a class="clear" href="javascript:"></a>
			</li>
			<li>
				<a class="clear" href="javascript:"></a>
			</li>
			<li>
				<a class="clear" href="javascript:"></a>
			</li>
			<li>
				<a class="clear" href="javascript:"></a>
			</li>
			<li>
				<a class="clear" href="javascript:"></a>
			</li>
		</ul>
	</div>
  </body>
	<script src="http://lib.sinaapp.com/js/jquery/2.0.3/jquery-2.0.3.min.js"></script>

	<script type="text/javascript">
		$(function(){
	
			//计算显示屏的宽高
			var win_w = document.documentElement.clientWidth || document.body.clientWidth || document.body.scrollWidth;
			var win_h = document.documentElement.clientHeight || document.body.clientHeight || document.body.scrollHeight;


			//名片
			$(".cardBox_C").width(win_w*0.5 + 5).height(win_w*0.5 + 5);
			$(".cardBox_C a").width(win_w*0.5).height(win_w*0.5);

		})

	</script>
</html>
